package org.grow.dealbill.service;

import org.grow.common.entity.ExchangeScoreDto;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PutMapping;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;

/**
 * @Author: xwg
 * @CreateDate: 21-8-12
 */

@FeignClient(value = "studentscore",fallback = ScoreFallBack.class)
public interface ScoreFeignService {
//    axios({
//        url:locahost:9196/exchangeScore,
//    data:ExchangeScoreDto,
//        method:put
//    }).then(res.data)

    @PutMapping("/ssc/exchangeScore")
    String exchangeScore(@RequestBody ExchangeScoreDto exchangeScoreDto);
}
